export default {
  URL_PREFIX  : 'http://daily.zhihu.com/story/',
  API         : 'http://news-at.zhihu.com/api/4/news/before/',//消息列表
  NEWS        : 'http://news-at.zhihu.com/api/4/news/',//消息内容获取
  YAHOO       : 'https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20json%20where%20url=%22',
  YAHOO_SUFFIX: '%22&format=json'
};

export const SERVER_API_ZHIHU = 'http://news-at.zhihu.com/api/4';

export const URLS = {
    /**知乎**/
    NEW_LATEST: SERVER_API_ZHIHU + '/news/latest', //最新消息
    NEW_DETAIL: SERVER_API_ZHIHU + '/news/{id}', //消息详情 "9571767"
    NEW_HISTORY: SERVER_API_ZHIHU + '/news/before/{date}', //历史消息 "20131119"
    NEW_EXTRA: SERVER_API_ZHIHU + '/story-extra/{id}', //额外消息赞/评价 "9571767"
    NEW_LONG_COMMENT: SERVER_API_ZHIHU + '/story/{id}/long-comments', //评论列表 "9571767"
    NEW_SHORT_COMMENT: SERVER_API_ZHIHU + '/story/{id}/short-comments', //评论列表 "9571767"
    NEW_PRESENTER: SERVER_API_ZHIHU + '/story/{id}/recommenders', //查看推荐者 "12"
    NEW_THEMES: SERVER_API_ZHIHU + '/themes', //主题日报列表查看
    NEW_THEMES_DETAIL: SERVER_API_ZHIHU + '/themes/{id}', //主题日报内容查看 "12"
};